package com.it.sun.easychat.model.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author sunmannian
 * @ClassName com.it.sun.easychat.model.vo.UserVO
 * @Date 2020/5/27 16:14
 * @Version V1.0
 * Description  <用户类>
 * Copyright (C) 北京中电兴发科技有限公司  since 2020/5/27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户对象")
public class UserVO  implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户id")
    @TableId(value = "id_", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "昵称")
    private String nick;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "个人签名")
    private String signature;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份证编号")
    private String idCardNo;

    @ApiModelProperty(value = "头像url")
    private String portrait;


}
